package com.yjk.common.exception;

public enum BizCodeEnume {
    VALID_EXCEPTION(10000, "参数格式校验失败"),
    UNKNOWN_EXCEPTION(10001, "未知错误");
    private int code;
    private String message;

    BizCodeEnume(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
